package com.zac.pomodoro.foreground

import android.app.NotificationManager
import android.app.Service
import android.content.Context
import android.content.Intent
import android.os.IBinder
import androidx.core.app.NotificationCompat

/**
 * author zac
 * date 2025/5/28
 *
 */
class TimerService : Service() {

    companion object {
        const val NOTIFICATION_ID = "timeServiceNotificationId"
    }

    override fun onBind(intent: Intent?): IBinder? {
        return null
    }

    override fun onCreate() {
        super.onCreate()
    }

    fun startNotification() {
        val notificationManager =
            getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager
        NotificationCompat.Builder(this, NOTIFICATION_ID)
            .setContentTitle("")
    }

}